package com.example.travel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.travel.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    public List<User> findByParam(User user);

    public List<User> findByUserNameAndPassWord(User user);

    public List<User> findByUserNameAndPassWord(String userName,String passWord);

    public List<User> findByUserName(String userName);

}
